/*  Neu - Feed Aggregator.
 *  Copyright (C) 2009  Joshua Montgomery
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details. 
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.neu.gui;

import java.awt.Dimension;

import javax.swing.JFrame;

/**
 * @author Joshua Montgomery
 * @created May 6, 2009
 */
public class MainFrame extends JFrame
{
	private static final long serialVersionUID = 2945858953576642492L;

	private int width = 0;
	
	private int height = 0;
	
	public MainFrame(int width,int height)
	{
		super("Neu");
		this.width = width;
		this.height = height;
	}
	
	
	public void initialize()
	{
		setPreferredSize(new Dimension(width,height));
		setSize(width,height);
		
		setVisible(true);//show main frame
	}
	
}
